package com.example.demo.service;

import lombok.extern.slf4j.Slf4j;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @ClassName: NotifyHrService
 * @Author : sz
 * @Date :2024/2/29  15:15
 * @Version :1.0
 */
@Component
@Slf4j
public class NotifyHrService  implements JavaDelegate {
    @Override
    public void execute(DelegateExecution delegateExecution) throws Exception {
        Map<String, Object> variables = delegateExecution.getVariables();
        log.info("参数变量为：{}",variables);
    }
}
